package com.ruoyi.wzgl.wzpd.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物资盘点对象 wzgl_wzpd
 *
 * @author huacai
 * @date 2024-09-28
 */
public class Wzpd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物资盘点ID */
    @Excel(name = "物资盘点ID", cellType = Excel.ColumnType.NUMERIC, needMerge = true, type = Excel.Type.EXPORT)
    private Integer wzpdId;

    /** 盘点日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "盘点日期", width = 30, dateFormat = "yyyy-MM-dd", needMerge = true)
    private Date pdTime;

    /** 盘点人 */
    @Excel(name = "盘点人", width = 20, needMerge = true)
    private String pdName;

    /** 盘点备注 */
    @Excel(name = "盘点备注", width = 20, needMerge = true)
    private String pdBz;

    /** 用户ID */
    private Integer userId;

    /** 部门ID */
    private Integer deptId;

    /** 部门名称 */
    private String deptName;

    /** 盘点明细信息 */
    @Excel(name = "盘点明细信息")
    private List<WzpdPdmx> wzpdPdmxList;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setWzpdId(Integer wzpdId)
    {
        this.wzpdId = wzpdId;
    }

    public Integer getWzpdId()
    {
        return wzpdId;
    }
    public void setPdTime(Date pdTime)
    {
        this.pdTime = pdTime;
    }

    public Date getPdTime()
    {
        return pdTime;
    }
    public void setPdName(String pdName)
    {
        this.pdName = pdName;
    }

    public String getPdName()
    {
        return pdName;
    }
    public void setPdBz(String pdBz)
    {
        this.pdBz = pdBz;
    }

    public String getPdBz()
    {
        return pdBz;
    }
    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }
    public void setDeptId(Integer deptId)
    {
        this.deptId = deptId;
    }

    public Integer getDeptId()
    {
        return deptId;
    }

    public List<WzpdPdmx> getWzpdPdmxList()
    {
        return wzpdPdmxList;
    }

    public void setWzpdPdmxList(List<WzpdPdmx> wzpdPdmxList)
    {
        this.wzpdPdmxList = wzpdPdmxList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wzpdId", getWzpdId())
            .append("pdTime", getPdTime())
            .append("pdName", getPdName())
            .append("pdBz", getPdBz())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("wzpdPdmxList", getWzpdPdmxList())
            .toString();
    }
}
